package com.mirana.module.common.model;

import com.mirana.frame.base.model.BaseModel;
import com.mirana.frame.db.base.anno.ColumnPlus;
import com.mirana.frame.db.base.anno.Notes;
import com.mirana.frame.db.base.anno.TablePlus;
import com.mirana.frame.db.base.extend.type.MysqlTypeEnum;
import lombok.Data;

@Data
@Notes("用户收藏")
@TablePlus(name = "mc_favourate")
public class McFavourate extends BaseModel {

    private static final long serialVersionUID = 1L;

    @Notes("课程id")
    @ColumnPlus
    private Long courseid;

    @Notes("课程名称")
    @ColumnPlus
    private String coursename;

    @Notes("课程所属分类id")
    @ColumnPlus
    private Long categoryid;

    @Notes("课程所属分类名称")
    @ColumnPlus
    private String categoryname;

    @Notes("课程所属用户id")
    @ColumnPlus
    private Long userid;

    @Notes("收藏者userid")
    @ColumnPlus
    private Long favourateuserid;

    @Notes("收藏者手机号")
    @ColumnPlus
    private String favourateuserphone;

    @Notes("收藏备注")
    @ColumnPlus(name = "remarks", sqlType = MysqlTypeEnum.TEXT, length = "500")
    private String remarks;


}
